object DMCaixas: TDMCaixas
  OldCreateOrder = False
  Left = 135
  Top = 78
  Height = 634
  Width = 828
  object ds_caixaf: TSQLDataSet
    CommandText = 
      'select'#13#10'  CAIXAFORMA.DOCUMENTO'#13#10'  , CAIXAFORMA.DATASAIDA'#13#10'  , CA' +
      'IXAFORMA.CODLOJA'#13#10'  , CAIXAFORMA.CLICHE'#13#10'  , CAIXAFORMA.CODFORMA' +
      'PAG'#13#10' ,  CAIXAFORMA.CODIGOCARTAO '#13#10' , CAIXAFORMA.VALOR'#13#10' , CAIXA' +
      'FORMA.VALORFORMA'#13#10'  , CAIXAFORMA.NRCONTROLE'#13#10'  , CAIXAFORMA.IMPR' +
      'ESSO'#13#10'  , CAIXAFORMA.CXF_CLIIDF'#13#10'  , CAIXAFORMA.CXF_CODCLIENTE'#13#10 +
      '  , CAIXAFORMA.CXF_PARCEL'#13#10'  , CAIXAFORMA.CODFORMA'#13#10'  , CAIXAFOR' +
      'MA.ORDEMIMP'#13#10'  , CAIXAFORMA.ATUALIZADO'#13#10'  , CAIXAFORMA.CXF_TEFCO' +
      'NF'#13#10'  , FORMASPAG.DESCFORMAPAG'#13#10'  , FORMASPAG.VINCULADO'#13#10'  , FOR' +
      'MASPAG.CODTIPOPAG'#13#10' ,  FORMASPAG.TIPOREGISTRO '#13#10' ,  FORMASPAG.TI' +
      'POPERACAO '#13#10'  , TIPOSPAG.DESCTIPOPAG'#13#10'  , TIPOSPAG.ECF_CODIGO'#13#10'f' +
      'rom'#13#10' CAIXAFORMA,'#13#10' FORMASPAG,'#13#10' TIPOSPAG'#13#10'where'#13#10'  CAIXAFORMA.C' +
      'ODFORMAPAG = FORMASPAG.CODFORMAPAG'#13#10'  and FORMASPAG.CODTIPOPAG =' +
      ' TIPOSPAG.CODTIPOPAG'#13#10'  and CAIXAFORMA.DOCUMENTO=:pdoc'#13#10'  and CA' +
      'IXAFORMA.CLICHE=:pcli'#13#10'  and CAIXAFORMA.CODLOJA=:ploj'#13#10'  and CAI' +
      'XAFORMA.DATASAIDA=:pdata'#13#10'order by caixaforma.codigocartao;'#13#10
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftString
        Name = 'pdoc'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'pcli'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'ploj'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'pdata'
        ParamType = ptInput
      end>
    SQLConnection = ConnectionGestor
    Left = 103
    Top = 70
    object ds_caixafDOCUMENTO: TStringField
      FieldName = 'DOCUMENTO'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      Size = 13
    end
    object ds_caixafDATASAIDA: TDateField
      FieldName = 'DATASAIDA'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object ds_caixafCODLOJA: TSmallintField
      FieldName = 'CODLOJA'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object ds_caixafCLICHE: TSmallintField
      FieldName = 'CLICHE'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object ds_caixafCODFORMAPAG: TSmallintField
      FieldName = 'CODFORMAPAG'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object ds_caixafCODIGOCARTAO: TStringField
      FieldName = 'CODIGOCARTAO'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      FixedChar = True
      Size = 3
    end
    object ds_caixafVALOR: TFMTBCDField
      FieldName = 'VALOR'
      Required = True
      DisplayFormat = '0.00'
      EditFormat = '0.00'
      currency = True
      Precision = 15
      Size = 3
    end
    object ds_caixafDESCFORMAPAG: TStringField
      FieldName = 'DESCFORMAPAG'
      Size = 35
    end
    object ds_caixafVINCULADO: TStringField
      FieldName = 'VINCULADO'
      FixedChar = True
      Size = 1
    end
    object ds_caixafCODTIPOPAG: TStringField
      FieldName = 'CODTIPOPAG'
      FixedChar = True
      Size = 1
    end
    object ds_caixafDESCTIPOPAG: TStringField
      FieldName = 'DESCTIPOPAG'
      Size = 16
    end
    object ds_caixafTIPOREGISTRO: TStringField
      FieldName = 'TIPOREGISTRO'
      FixedChar = True
      Size = 3
    end
    object ds_caixafNRCONTROLE: TStringField
      FieldName = 'NRCONTROLE'
      Size = 6
    end
    object ds_caixafIMPRESSO: TStringField
      FieldName = 'IMPRESSO'
      Size = 1
    end
    object ds_caixafCXF_CLIIDF: TIntegerField
      FieldName = 'CXF_CLIIDF'
    end
    object ds_caixafCXF_PARCEL: TSmallintField
      FieldName = 'CXF_PARCEL'
    end
    object ds_caixafCODFORMA: TStringField
      FieldName = 'CODFORMA'
      Size = 3
    end
    object ds_caixafECF_CODIGO: TStringField
      FieldName = 'ECF_CODIGO'
      Size = 2
    end
    object ds_caixafORDEMIMP: TStringField
      FieldName = 'ORDEMIMP'
      Size = 2
    end
    object ds_caixafATUALIZADO: TStringField
      FieldName = 'ATUALIZADO'
      Size = 1
    end
    object ds_caixafVALORFORMA: TFMTBCDField
      FieldName = 'VALORFORMA'
      DisplayFormat = '0.00'
      Precision = 15
      Size = 3
    end
    object ds_caixafCXF_CODCLIENTE: TStringField
      FieldName = 'CXF_CODCLIENTE'
      Size = 15
    end
    object ds_caixafCXF_TEFCONF: TSmallintField
      FieldName = 'CXF_TEFCONF'
    end
    object ds_caixafTIPOPERACAO: TStringField
      FieldName = 'TIPOPERACAO'
      FixedChar = True
      Size = 2
    end
  end
  object dsp_caixaf: TDataSetProvider
    DataSet = ds_caixaf
    UpdateMode = upWhereKeyOnly
    Left = 193
    Top = 70
  end
  object cds_caixaf: TClientDataSet
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'DOCUMENTO'
        Attributes = [faRequired]
        DataType = ftString
        Size = 13
      end
      item
        Name = 'DATASAIDA'
        Attributes = [faRequired]
        DataType = ftDate
      end
      item
        Name = 'CODLOJA'
        Attributes = [faRequired]
        DataType = ftSmallint
      end
      item
        Name = 'CLICHE'
        Attributes = [faRequired]
        DataType = ftSmallint
      end
      item
        Name = 'CODFORMAPAG'
        Attributes = [faRequired]
        DataType = ftSmallint
      end
      item
        Name = 'CODIGOCARTAO'
        Attributes = [faRequired, faFixed]
        DataType = ftString
        Size = 3
      end
      item
        Name = 'VALOR'
        Attributes = [faRequired]
        DataType = ftFMTBcd
        Precision = 15
        Size = 3
      end
      item
        Name = 'DESCFORMAPAG'
        DataType = ftString
        Size = 35
      end
      item
        Name = 'VINCULADO'
        Attributes = [faFixed]
        DataType = ftString
        Size = 1
      end
      item
        Name = 'CODTIPOPAG'
        Attributes = [faFixed]
        DataType = ftString
        Size = 1
      end
      item
        Name = 'DESCTIPOPAG'
        DataType = ftString
        Size = 16
      end
      item
        Name = 'TIPOREGISTRO'
        Attributes = [faFixed]
        DataType = ftString
        Size = 3
      end
      item
        Name = 'NRCONTROLE'
        DataType = ftString
        Size = 6
      end
      item
        Name = 'IMPRESSO'
        DataType = ftString
        Size = 1
      end
      item
        Name = 'CXF_CLIIDF'
        DataType = ftInteger
      end
      item
        Name = 'CXF_PARCEL'
        DataType = ftSmallint
      end
      item
        Name = 'CODFORMA'
        DataType = ftString
        Size = 3
      end
      item
        Name = 'ECF_CODIGO'
        DataType = ftString
        Size = 2
      end
      item
        Name = 'ORDEMIMP'
        DataType = ftString
        Size = 2
      end
      item
        Name = 'ATUALIZADO'
        DataType = ftString
        Size = 1
      end
      item
        Name = 'VALORFORMA'
        DataType = ftFMTBcd
        Precision = 15
        Size = 3
      end
      item
        Name = 'CXF_CODCLIENTE'
        DataType = ftString
        Size = 15
      end
      item
        Name = 'CXF_TEFCONF'
        DataType = ftSmallint
      end
      item
        Name = 'TIPOPERACAO'
        Attributes = [faFixed]
        DataType = ftString
        Size = 2
      end>
    IndexDefs = <>
    Params = <
      item
        DataType = ftString
        Name = 'pdoc'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'pcli'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'ploj'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'pdata'
        ParamType = ptInput
      end>
    ProviderName = 'dsp_caixaf'
    StoreDefs = True
    AfterOpen = cds_caixafAfterOpen
    OnReconcileError = cds_caixafReconcileError
    Left = 286
    Top = 68
    object cds_caixafTefTipoRegistro: TStringField
      FieldKind = fkInternalCalc
      FieldName = 'TEF_TipoReg'
      Size = 3
    end
    object cds_caixafDOCUMENTO: TStringField
      FieldName = 'DOCUMENTO'
      Required = True
      Size = 13
    end
    object cds_caixafDATASAIDA: TDateField
      FieldName = 'DATASAIDA'
      Required = True
    end
    object cds_caixafCODLOJA: TSmallintField
      FieldName = 'CODLOJA'
      Required = True
    end
    object cds_caixafCLICHE: TSmallintField
      FieldName = 'CLICHE'
      Required = True
    end
    object cds_caixafCODFORMAPAG: TSmallintField
      FieldName = 'CODFORMAPAG'
      Required = True
    end
    object cds_caixafCODIGOCARTAO: TStringField
      FieldName = 'CODIGOCARTAO'
      Required = True
      FixedChar = True
      Size = 3
    end
    object cds_caixafVALOR: TFMTBCDField
      FieldName = 'VALOR'
      Required = True
      Precision = 15
      Size = 3
    end
    object cds_caixafDESCFORMAPAG: TStringField
      FieldName = 'DESCFORMAPAG'
      Size = 35
    end
    object cds_caixafVINCULADO: TStringField
      FieldName = 'VINCULADO'
      FixedChar = True
      Size = 1
    end
    object cds_caixafCODTIPOPAG: TStringField
      FieldName = 'CODTIPOPAG'
      FixedChar = True
      Size = 1
    end
    object cds_caixafDESCTIPOPAG: TStringField
      FieldName = 'DESCTIPOPAG'
      Size = 16
    end
    object cds_caixafTIPOREGISTRO: TStringField
      FieldName = 'TIPOREGISTRO'
      FixedChar = True
      Size = 3
    end
    object cds_caixafNRCONTROLE: TStringField
      FieldName = 'NRCONTROLE'
      Size = 6
    end
    object cds_caixafIMPRESSO: TStringField
      FieldName = 'IMPRESSO'
      Size = 1
    end
    object cds_caixafCXF_CLIIDF: TIntegerField
      FieldName = 'CXF_CLIIDF'
    end
    object cds_caixafCXF_PARCEL: TSmallintField
      FieldName = 'CXF_PARCEL'
    end
    object cds_caixafCODFORMA: TStringField
      FieldName = 'CODFORMA'
      Size = 3
    end
    object cds_caixafECF_CODIGO: TStringField
      FieldName = 'ECF_CODIGO'
      Size = 2
    end
    object cds_caixafORDEMIMP: TStringField
      FieldName = 'ORDEMIMP'
      Size = 2
    end
    object cds_caixafATUALIZADO: TStringField
      FieldName = 'ATUALIZADO'
      Size = 1
    end
    object cds_caixafVALORFORMA: TFMTBCDField
      FieldName = 'VALORFORMA'
      Precision = 15
      Size = 3
    end
    object cds_caixafCXF_CODCLIENTE: TStringField
      FieldName = 'CXF_CODCLIENTE'
      Size = 15
    end
    object cds_caixafCXF_TEFCONF: TSmallintField
      FieldName = 'CXF_TEFCONF'
    end
    object cds_caixafTIPOPERACAO: TStringField
      FieldName = 'TIPOPERACAO'
      FixedChar = True
      Size = 2
    end
  end
  object ds_caixas: TSQLDataSet
    CommandText = 
      'select * from CAIXASAIDA where documento=:pdoc and cliche=:pcli ' +
      'and datasaida=:pdat and codloja=:ploj;'
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftString
        Name = 'pdoc'
        ParamType = ptInput
        Value = '1'
      end
      item
        DataType = ftString
        Name = 'pcli'
        ParamType = ptInput
        Value = '1'
      end
      item
        DataType = ftString
        Name = 'pdat'
        ParamType = ptInput
        Value = '08/20/2004'
      end
      item
        DataType = ftString
        Name = 'ploj'
        ParamType = ptInput
        Value = '1'
      end>
    SQLConnection = ConnectionGestor
    Left = 101
    Top = 16
    object ds_caixasDOCUMENTO: TStringField
      FieldName = 'DOCUMENTO'
      Required = True
      Size = 13
    end
    object ds_caixasDATASAIDA: TDateField
      FieldName = 'DATASAIDA'
      Required = True
    end
    object ds_caixasCODLOJA: TSmallintField
      FieldName = 'CODLOJA'
      Required = True
    end
    object ds_caixasCLICHE: TSmallintField
      FieldName = 'CLICHE'
      Required = True
    end
    object ds_caixasITEM: TSmallintField
      FieldName = 'ITEM'
      Required = True
    end
    object ds_caixasCODPRODUTO: TStringField
      FieldName = 'CODPRODUTO'
      Required = True
      Size = 13
    end
    object ds_caixasPRODUTO: TStringField
      FieldName = 'PRODUTO'
      Required = True
      Size = 50
    end
    object ds_caixasSITUACAO: TStringField
      FieldName = 'SITUACAO'
      Required = True
      FixedChar = True
      Size = 2
    end
    object ds_caixasPREVEN: TFMTBCDField
      FieldName = 'PREVEN'
      Precision = 15
      Size = 8
    end
    object ds_caixasQUANTIDADE: TFMTBCDField
      FieldName = 'QUANTIDADE'
      Precision = 15
      Size = 3
    end
    object ds_caixasTOTAL: TFMTBCDField
      FieldName = 'TOTAL'
      Precision = 15
      Size = 8
    end
    object ds_caixasIDPRODUTO: TIntegerField
      FieldName = 'IDPRODUTO'
      Required = True
    end
    object ds_caixasATUALIZADO: TStringField
      FieldName = 'ATUALIZADO'
      Size = 1
    end
    object ds_caixasORCAMENTO: TStringField
      FieldName = 'ORCAMENTO'
      Size = 13
    end
    object ds_caixasCXS_VENCOD: TStringField
      FieldName = 'CXS_VENCOD'
      Size = 3
    end
    object ds_caixasCXS_PERDES: TFMTBCDField
      FieldName = 'CXS_PERDES'
      Precision = 15
      Size = 3
    end
    object ds_caixasCXS_PRETAB: TFMTBCDField
      FieldName = 'CXS_PRETAB'
      Precision = 15
      Size = 3
    end
    object ds_caixasCXS_PRODSERV: TStringField
      FieldName = 'CXS_PRODSERV'
      Size = 1
    end
    object ds_caixasCXS_TIPDOC: TStringField
      FieldName = 'CXS_TIPDOC'
      Size = 1
    end
    object ds_caixasCXS_HORA: TTimeField
      FieldName = 'CXS_HORA'
    end
    object ds_caixasCXS_SERIAL: TStringField
      FieldName = 'CXS_SERIAL'
    end
    object ds_caixasCXS_CODHISTORICO: TStringField
      FieldName = 'CXS_CODHISTORICO'
      Size = 3
    end
    object ds_caixasCXS_STATUS: TStringField
      FieldName = 'CXS_STATUS'
      Size = 1
    end
    object ds_caixasCXS_USUARIO: TStringField
      FieldName = 'CXS_USUARIO'
      Size = 3
    end
    object ds_caixasCXS_TIPPED: TStringField
      FieldName = 'CXS_TIPPED'
      Size = 1
    end
  end
  object dsp_caixas: TDataSetProvider
    DataSet = ds_caixas
    Left = 191
    Top = 16
  end
  object cds_caixas: TClientDataSet
    Aggregates = <>
    Params = <
      item
        DataType = ftString
        Name = 'pdoc'
        ParamType = ptInput
        Value = '1'
      end
      item
        DataType = ftString
        Name = 'pcli'
        ParamType = ptInput
        Value = '1'
      end
      item
        DataType = ftString
        Name = 'pdat'
        ParamType = ptInput
        Value = '08/20/2004'
      end
      item
        DataType = ftString
        Name = 'ploj'
        ParamType = ptInput
        Value = '1'
      end>
    ProviderName = 'dsp_caixas'
    OnReconcileError = cds_caixasReconcileError
    Left = 284
    Top = 16
    object cds_caixasDOCUMENTO: TStringField
      FieldName = 'DOCUMENTO'
      Required = True
      Size = 13
    end
    object cds_caixasDATASAIDA: TDateField
      FieldName = 'DATASAIDA'
      Required = True
    end
    object cds_caixasCODLOJA: TSmallintField
      FieldName = 'CODLOJA'
      Required = True
    end
    object cds_caixasCLICHE: TSmallintField
      FieldName = 'CLICHE'
      Required = True
    end
    object cds_caixasITEM: TSmallintField
      FieldName = 'ITEM'
      Required = True
    end
    object cds_caixasIDPRODUTO: TIntegerField
      FieldName = 'IDPRODUTO'
      Required = True
    end
    object cds_caixasCODPRODUTO: TStringField
      FieldName = 'CODPRODUTO'
      Required = True
      Size = 13
    end
    object cds_caixasPRODUTO: TStringField
      FieldName = 'PRODUTO'
      Required = True
      Size = 50
    end
    object cds_caixasSITUACAO: TStringField
      FieldName = 'SITUACAO'
      Required = True
      FixedChar = True
      Size = 2
    end
    object cds_caixasPREVEN: TFMTBCDField
      Alignment = taCenter
      FieldName = 'PREVEN'
      DisplayFormat = '#,##0.00'
      currency = True
      Precision = 15
      Size = 3
    end
    object cds_caixasQUANTIDADE: TFMTBCDField
      Alignment = taCenter
      FieldName = 'QUANTIDADE'
      Precision = 15
      Size = 3
    end
    object cds_caixasTOTAL: TFMTBCDField
      FieldName = 'TOTAL'
      DisplayFormat = '#,##0.00'
      Precision = 15
      Size = 8
    end
    object cds_caixasORCAMENTO: TStringField
      FieldName = 'ORCAMENTO'
      Size = 13
    end
    object cds_caixasATUALIZADO: TStringField
      FieldName = 'ATUALIZADO'
      Size = 1
    end
    object cds_caixasCXS_VENCOD: TStringField
      FieldName = 'CXS_VENCOD'
      Size = 3
    end
    object cds_caixasCXS_PERDES: TFMTBCDField
      FieldName = 'CXS_PERDES'
      Precision = 15
      Size = 3
    end
    object cds_caixasCXS_PRETAB: TFMTBCDField
      FieldName = 'CXS_PRETAB'
      Precision = 15
      Size = 3
    end
    object cds_caixasCXS_PRODSERV: TStringField
      FieldName = 'CXS_PRODSERV'
      Size = 1
    end
    object cds_caixasDataOrcam: TDateField
      FieldKind = fkInternalCalc
      FieldName = 'DataOrcam'
    end
    object cds_caixasCXS_TIPDOC: TStringField
      FieldName = 'CXS_TIPDOC'
      Size = 1
    end
    object cds_caixasCXS_HORA: TTimeField
      FieldName = 'CXS_HORA'
    end
    object cds_caixasPcoAlter: TStringField
      FieldKind = fkInternalCalc
      FieldName = 'PcoAlter'
      Size = 1
    end
    object cds_caixasCXS_SERIAL: TStringField
      FieldName = 'CXS_SERIAL'
    end
    object cds_caixasCXS_CODHISTORICO: TStringField
      FieldName = 'CXS_CODHISTORICO'
      Size = 3
    end
    object cds_caixasCXS_STATUS: TStringField
      FieldName = 'CXS_STATUS'
      Size = 1
    end
    object cds_caixasCXS_USUARIO: TStringField
      FieldName = 'CXS_USUARIO'
      Size = 3
    end
    object cds_caixasCXS_TIPPED: TStringField
      FieldName = 'CXS_TIPPED'
      Size = 1
    end
  end
  object Balanca: TACBrBAL
    Modelo = balToledo
    Porta = 'COM1'
    Intervalo = 300
    Device.Baud = 2400
    OnLePeso = BalancaLePeso
    Left = 295
    Top = 320
  end
  object RvsConfRelatorios: TRvSystem
    TitleSetup = 'Op'#231#245'es de Impress'#227'o'
    TitleStatus = 'Progresso do Relat'#243'rio'
    TitlePreview = 'Visualiza'#231#227'o da Impress'#227'o'
    SystemSetups = [ssAllowCopies, ssAllowCollate, ssAllowDuplex, ssAllowDestPreview, ssAllowDestPrinter, ssAllowDestFile, ssAllowPrinterSetup, ssAllowPreviewSetup]
    SystemFiler.StatusFormat = 'Gerando P'#225'gina %p'
    SystemFiler.StatusText.Strings = (
      'Aguarde... Classificando dados.')
    SystemFiler.StreamMode = smTempFile
    SystemPreview.FormState = wsMaximized
    SystemPreview.MarginMethod = mmScaled
    SystemPreview.MarginPercent = 5.000000000000000000
    SystemPreview.ZoomFactor = 100.000000000000000000
    SystemPrinter.ScaleX = 100.000000000000000000
    SystemPrinter.ScaleY = 100.000000000000000000
    SystemPrinter.StatusFormat = 'Imprimindo p'#225'gina %p'
    SystemPrinter.Title = 'Sistema de Eventos'
    SystemPrinter.UnitsFactor = 1.000000000000000000
    Left = 215
    Top = 320
  end
  object ACBrLeitorFixo: TACBrLCB
    Porta = 'COM1'
    Sufixo = '#13'
    Intervalo = 300
    OnLeCodigo = ACBrLeitorFixoLeCodigo
    Left = 124
    Top = 320
  end
  object DSCupom: TDataSource
    DataSet = cds_caixas
    Left = 358
    Top = 16
  end
  object DsFormas: TDataSource
    DataSet = cds_caixaf
    Left = 360
    Top = 72
  end
  object DS_Vendedor: TDataSource
    Left = 32
    Top = 320
  end
  object DS_Cliente: TDataSource
    Left = 27
    Top = 376
  end
  object ConnectionGestor: TSQLConnection
    ConnectionName = 'GestorMKS'
    DriverName = 'Interbase'
    GetDriverFunc = 'getSQLDriverINTERBASE'
    LibraryName = 'dbexpint.dll'
    LoginPrompt = False
    Params.Strings = (
      'DriverName=Interbase'
      'Database=D:\Mks_Acacio\Dados\MARKSYSTTE.FDB'
      'RoleName=RoleName'
      'User_Name=sysdba'
      'Password=masterkey'
      'ServerCharSet='
      'SQLDialect=3'
      'BlobSize=-1'
      'CommitRetain=False'
      'WaitOnLocks=True'
      'ErrorResourceFile='
      'LocaleCode=0000'
      'Interbase TransIsolation=ReadCommited'
      'Trim Char=False')
    VendorLib = 'gds32.dll'
    AfterConnect = ConnectionGestorAfterConnect
    BeforeConnect = ConnectionGestorBeforeConnect
    Left = 32
    Top = 16
  end
  object SQLQ_Gestor: TSQLQuery
    MaxBlobSize = -1
    Params = <>
    SQLConnection = ConnectionGestor
    Left = 96
    Top = 128
  end
  object DS_Geral: TDataSource
    Left = 168
    Top = 128
  end
  object Sqlc_Vendedores: TSQLClientDataSet
    CommandText = 
      'select USU_CODIGO AS CODIGO, USU_NOME AS NOME from USUARIOS wher' +
      'e usu_vendedor='#39'S'#39';'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    DBConnection = ConnectionGestor
    Left = 240
    Top = 128
  end
  object SQLC_SaidaDocumento: TSQLClientDataSet
    CommandText = 'select * from SAIDA_DOCUMENTO where  SAD_IDFDOC=:pidf;'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftString
        Name = 'pidf'
        ParamType = ptInput
      end>
    DBConnection = ConnectionGestor
    Left = 350
    Top = 128
  end
  object SQLC_SaidaItem: TSQLClientDataSet
    CommandText = 'select * from SAIDA_ITEM where  SAI_IDFDOC=:pidf;'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftString
        Name = 'pidf'
        ParamType = ptInput
      end>
    DBConnection = ConnectionGestor
    Left = 96
    Top = 192
  end
  object SQLC_SaidaForma: TSQLClientDataSet
    CommandText = 'select * from SAIDA_FORMA where  SAF_IDFDOC=:pidf;'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftString
        Name = 'pidf'
        ParamType = ptInput
      end>
    DBConnection = ConnectionGestor
    Left = 200
    Top = 192
  end
  object Sqlc_ConsultaProduto: TSQLClientDataSet
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    DBConnection = ConnectionGestor
    Left = 312
    Top = 192
  end
  object SQLC_Balcao: TSQLClientDataSet
    CommandText = 
      'select SAD_IDFDOC, SAD_DATAVE, SAD_CODVEN, SAD_TIPDOC,SAD_CODCLI' +
      ',SAI_SEQITEM, SAI_QUANTI, SAI_PREVEN, SAI_SERIAL, SAI_CODHISTORI' +
      'CO,ESP_IDFCOD, ESP_CODIGO, ESP_CODBAR, ESP_DESCRI, UNI_CODIGO, E' +
      'SP_REFERE,ESE_PRECOM, ESE_PRECUS, ESE_PREVEN, ESE_PREATA, '#13#10'ESE_' +
      'SITCOD, ESE_SALDO from SAIDA_DOCUMENTO, SAIDA_ITEM, ESTOQUE_PROD' +
      'UTO, ESTOQUE_EMPRESA where SAD_IDFDOC=SAI_IDFDOC   and SAI_IDFIT' +
      'EM=ESP_IDFCOD   and ESP_IDFCOD=ESE_IDFCOD  and ESE_EMPCOD=SAD_ID' +
      'FEMPRESA  order by SAI_SEQITEM;'#13#10
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    DBConnection = ConnectionGestor
    Left = 96
    Top = 256
  end
  object sqlq_geral: TSQLQuery
    MaxBlobSize = -1
    Params = <>
    SQLConnection = ConnectionGestor
    Left = 496
    Top = 15
  end
  object Sqlc_ProcuraProduto: TSQLClientDataSet
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    DBConnection = ConnectionGestor
    Left = 576
    Top = 152
  end
  object SQLC_SelecionarItem: TSQLClientDataSet
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    DBConnection = ConnectionGestor
    Left = 480
    Top = 208
  end
  object sqlq_dados: TSQLQuery
    MaxBlobSize = -1
    Params = <>
    SQLConnection = ConnectionGestor
    Left = 576
    Top = 15
  end
  object SQLC_Usuario: TSQLClientDataSet
    CommandText = 'USUARIO'
    Aggregates = <>
    Options = [poAllowMultiRecordUpdates, poAutoRefresh, poAllowCommandText]
    ObjectView = True
    Params = <>
    CommandType = ctTable
    DBConnection = ConnectionGestor
    Left = 496
    Top = 80
    object SQLC_UsuarioUSU_CODIGO: TStringField
      FieldName = 'USU_CODIGO'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
      FixedChar = True
      Size = 2
    end
    object SQLC_UsuarioUSU_NOME: TStringField
      FieldName = 'USU_NOME'
      Required = True
      Size = 40
    end
  end
  object SqlcReceber: TSQLClientDataSet
    CommandText = 
      'select * from receber '#13#10'where rec_docfis=:pdoc and rec_emissa=:p' +
      'emi and rec_cliche=:pcli;'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftString
        Name = 'pdoc'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'pemi'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'pcli'
        ParamType = ptInput
      end>
    DBConnection = ConnectionGestor
    Left = 576
    Top = 80
    object SqlcReceberREC_IDFCOD: TIntegerField
      FieldName = 'REC_IDFCOD'
      Required = True
    end
    object SqlcReceberREC_PESIDF: TIntegerField
      FieldName = 'REC_PESIDF'
      Required = True
    end
    object SqlcReceberREC_DOCUME: TStringField
      FieldName = 'REC_DOCUME'
      Required = True
      Size = 13
    end
    object SqlcReceberREC_EMISSA: TDateField
      FieldName = 'REC_EMISSA'
      Required = True
    end
    object SqlcReceberREC_VENCIM: TDateField
      FieldName = 'REC_VENCIM'
      Required = True
    end
    object SqlcReceberREC_DOCFIS: TStringField
      FieldName = 'REC_DOCFIS'
      Size = 13
    end
    object SqlcReceberREC_CLICHE: TSmallintField
      FieldName = 'REC_CLICHE'
    end
    object SqlcReceberREC_VALOR: TFMTBCDField
      FieldName = 'REC_VALOR'
      Precision = 15
      Size = 2
    end
    object SqlcReceberREC_CREDEB: TStringField
      FieldName = 'REC_CREDEB'
      Required = True
      Size = 1
    end
    object SqlcReceberREC_VALPAG: TFMTBCDField
      FieldName = 'REC_VALPAG'
      Precision = 15
      Size = 2
    end
    object SqlcReceberREC_DATPAG: TDateField
      FieldName = 'REC_DATPAG'
    end
  end
  object SQLC_Consulta: TSQLClientDataSet
    CommandText = 'select * from SECAO'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    DBConnection = ConnectionGestor
    Left = 480
    Top = 153
  end
  object Sqlc_TiposPag: TSQLClientDataSet
    CommandText = 'TIPOSPAG'
    Aggregates = <>
    Options = [poAllowMultiRecordUpdates, poAllowCommandText]
    ObjectView = True
    Params = <>
    CommandType = ctTable
    DBConnection = ConnectionGestor
    Left = 576
    Top = 208
  end
  object SQLC_FormasPag: TSQLClientDataSet
    CommandText = 'FORMASPAG'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    CommandType = ctTable
    DBConnection = ConnectionGestor
    Left = 680
    Top = 208
    object SQLC_FormasPagCODFORMAPAG: TSmallintField
      FieldName = 'CODFORMAPAG'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object SQLC_FormasPagDESCFORMAPAG: TStringField
      FieldName = 'DESCFORMAPAG'
      Size = 35
    end
    object SQLC_FormasPagPARCELADO: TStringField
      FieldName = 'PARCELADO'
      FixedChar = True
      Size = 1
    end
    object SQLC_FormasPagVINCULADO: TStringField
      FieldName = 'VINCULADO'
      FixedChar = True
      Size = 1
    end
    object SQLC_FormasPagCODTIPOPAG: TStringField
      FieldName = 'CODTIPOPAG'
      FixedChar = True
      Size = 1
    end
    object SQLC_FormasPagPARCIGUAIS: TStringField
      FieldName = 'PARCIGUAIS'
      FixedChar = True
      Size = 1
    end
    object SQLC_FormasPagDENTREPARC: TSmallintField
      FieldName = 'DENTREPARC'
    end
    object SQLC_FormasPagENTRADA: TStringField
      FieldName = 'ENTRADA'
      FixedChar = True
      Size = 1
    end
    object SQLC_FormasPagQUANTPARC: TSmallintField
      FieldName = 'QUANTPARC'
    end
    object SQLC_FormasPagTIPOREGISTRO: TStringField
      FieldName = 'TIPOREGISTRO'
      FixedChar = True
      Size = 3
    end
    object SQLC_FormasPagCODTRANSACAO: TStringField
      FieldName = 'CODTRANSACAO'
      FixedChar = True
      Size = 2
    end
    object SQLC_FormasPagTIPOPERACAO: TStringField
      FieldName = 'TIPOPERACAO'
      FixedChar = True
      Size = 2
    end
    object SQLC_FormasPagCODFORMA: TStringField
      FieldName = 'CODFORMA'
      Size = 3
    end
    object SQLC_FormasPagDESCPADR: TFMTBCDField
      FieldName = 'DESCPADR'
      Precision = 15
      Size = 3
    end
  end
  object sqConsulta: TSQLQuery
    MaxBlobSize = -1
    Params = <>
    SQLConnection = ConnectionGestor
    Left = 664
    Top = 19
  end
  object SQLC_ItensPedido: TSQLClientDataSet
    CommandText = 'select * from CAIXASAIDA where DOCUMENTO='#39'------'#39';'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    DBConnection = ConnectionGestor
    Left = 680
    Top = 152
    object SQLC_ItensPedidoDOCUMENTO: TStringField
      FieldName = 'DOCUMENTO'
      Required = True
      Size = 13
    end
    object SQLC_ItensPedidoDATASAIDA: TDateField
      FieldName = 'DATASAIDA'
      Required = True
    end
    object SQLC_ItensPedidoCODLOJA: TSmallintField
      FieldName = 'CODLOJA'
      Required = True
    end
    object SQLC_ItensPedidoCLICHE: TSmallintField
      FieldName = 'CLICHE'
      Required = True
    end
    object SQLC_ItensPedidoITEM: TSmallintField
      FieldName = 'ITEM'
      Required = True
    end
    object SQLC_ItensPedidoCODPRODUTO: TStringField
      FieldName = 'CODPRODUTO'
      Required = True
      Size = 13
    end
    object SQLC_ItensPedidoPRODUTO: TStringField
      FieldName = 'PRODUTO'
      Required = True
      Size = 50
    end
    object SQLC_ItensPedidoSITUACAO: TStringField
      FieldName = 'SITUACAO'
      Required = True
      FixedChar = True
      Size = 2
    end
    object SQLC_ItensPedidoPREVEN: TFMTBCDField
      FieldName = 'PREVEN'
      Precision = 15
      Size = 3
    end
    object SQLC_ItensPedidoQUANTIDADE: TFMTBCDField
      FieldName = 'QUANTIDADE'
      Precision = 15
      Size = 3
    end
    object SQLC_ItensPedidoTOTAL: TFMTBCDField
      FieldName = 'TOTAL'
      Precision = 15
      Size = 3
    end
    object SQLC_ItensPedidoIDPRODUTO: TIntegerField
      FieldName = 'IDPRODUTO'
      Required = True
    end
    object SQLC_ItensPedidoATUALIZADO: TStringField
      FieldName = 'ATUALIZADO'
      Size = 1
    end
    object SQLC_ItensPedidoORCAMENTO: TStringField
      FieldName = 'ORCAMENTO'
      Size = 13
    end
    object SQLC_ItensPedidoCXS_VENCOD: TStringField
      FieldName = 'CXS_VENCOD'
      Size = 3
    end
    object SQLC_ItensPedidoCXS_PERDES: TFMTBCDField
      FieldName = 'CXS_PERDES'
      Precision = 15
      Size = 3
    end
    object SQLC_ItensPedidoCXS_PRETAB: TFMTBCDField
      FieldName = 'CXS_PRETAB'
      Precision = 15
      Size = 3
    end
    object SQLC_ItensPedidoCXS_PRODSERV: TStringField
      FieldName = 'CXS_PRODSERV'
      Size = 1
    end
  end
  object Estoque: TApolloTable
    DatabaseName = '\auto\estoque\'
    ExtraIndexes.Strings = (
      'estoquec')
    FetchCount = 200
    FieldDefs = <>
    IndexDefs = <
      item
        Name = 'ESTOQUEC.IDX'
        Fields = 'CODIGO'
        Source = 'ESTOQUEC.IDX'
      end>
    IndexName = 'ESTOQUEC.IDX'
    TableName = 'ESTOQUE.DBF'
    OEMTranslate = True
    Left = 387
    Top = 321
  end
  object Saida: TApolloTable
    DatabaseName = '\auto\estoque\'
    FieldDefs = <>
    IndexDefs = <>
    TableName = 'SAIDA.DBF'
    OEMTranslate = True
    Left = 451
    Top = 320
  end
  object Caitot: TApolloTable
    DatabaseName = '\auto\fluxo\'
    ExtraIndexes.Strings = (
      'caitot')
    FieldDefs = <>
    IndexDefs = <
      item
        Name = 'CAITOT.IDX'
        Fields = 'DATA'
        Source = 'CAITOT.IDX'
      end>
    IndexName = 'CAITOT.IDX'
    TableName = 'CAITOT.DBF'
    OEMTranslate = True
    Left = 499
    Top = 320
  end
  object SaidaF: TApolloTable
    DatabaseName = '\auto\estoque\'
    ExtraIndexes.Strings = (
      'saidfdoc'
      'saidfdat')
    FieldDefs = <>
    IndexDefs = <
      item
        Name = 'SAIDFDOC.IDX'
        Fields = 'DOCUMENTO'
        Source = 'SAIDFDOC.IDX'
      end
      item
        Name = 'SAIDFDAT.IDX'
        Fields = 'DATA'
        Source = 'SAIDFDAT.IDX'
      end>
    TableName = 'SAIDAF.DBF'
    OEMTranslate = True
    Left = 538
    Top = 320
  end
  object ApolloAmbiente: TApolloEnv
    ApplyTo = [atLocal, atServer]
    Deleted = True
    Exact = True
    LockTimeOut = 5
    OptimisticBuffer = True
    Left = 504
    Top = 272
  end
  object Vendedor: TApolloTable
    DatabaseName = '\auto\contas\'
    ExtraIndexes.Strings = (
      'vendec')
    FieldDefs = <>
    IndexDefs = <
      item
        Name = 'VENDEC.IDX'
        Fields = 'CODIGO'
        Source = 'VENDEC.IDX'
      end>
    TableName = 'VENDE.DBF'
    OEMTranslate = True
    Left = 386
    Top = 384
  end
  object Cliente: TApolloTable
    DatabaseName = '\auto\contas\'
    ExtraIndexes.Strings = (
      'clientec'
      'clienten'
      'clientea'
      'clienteg'
      'clientef')
    FieldDefs = <>
    IndexDefs = <
      item
        Name = 'CLIENTEC.IDX'
        Fields = 'CODIGO'
        Source = 'CLIENTEC.IDX'
      end
      item
        Name = 'CLIENTEN.IDX'
        Fields = 'NOME'
        Source = 'CLIENTEN.IDX'
      end
      item
        Name = 'CLIENTEA.IDX'
        Fields = 'APELIDO'
        Source = 'CLIENTEA.IDX'
      end
      item
        Name = 'CLIENTEG.IDX'
        Fields = 'C_G_C'
        Source = 'CLIENTEG.IDX'
      end
      item
        Name = 'CLIENTEF.IDX'
        Fields = 'FONE2'
        Source = 'CLIENTEF.IDX'
      end>
    IndexName = 'CLIENTEC.IDX'
    TableName = 'CLIENTE.DBF'
    OEMTranslate = True
    Left = 453
    Top = 384
  end
  object Receber: TApolloTable
    DatabaseName = '\auto\contas\'
    ExtraIndexes.Strings = (
      'recebert'
      'receberc'
      'recebern'
      'receberd'
      'receberp'
      'recepago'
      'receberv'
      'recebere'
      'recebeco')
    FieldDefs = <>
    IndexDefs = <>
    TableName = 'RECEBER.DBF'
    OEMTranslate = True
    Left = 504
    Top = 384
  end
  object EstQuery: TApolloQuery
    AccessMethod = amLocal
    DatabaseName = '\auto\estoque\'
    TableNames = <>
    DateFormat = 'm/d/yyyy'
    WaitCursor = crDefault
    Params = <>
    ParamCheck = False
    RecNo = 0
    RecCount = 0
    OEMTranslate = False
    Left = 600
    Top = 320
  end
  object Servico: TApolloTable
    DatabaseName = '\auto\estoque\'
    ExtraIndexes.Strings = (
      'SERVICC.IDX'
      'SERVICP.IDX')
    FieldDefs = <>
    IndexDefs = <
      item
        Name = 'SERVICC.IDX'
        Fields = 'CODIGO'
        Source = 'SERVICC.IDX'
      end
      item
        Name = 'SERVICP.IDX'
        Fields = 'PRODUTO'
        Source = 'SERVICP.IDX'
      end>
    IndexName = 'SERVICC.IDX'
    TableName = 'SERVIC.DBF'
    OEMTranslate = True
    Left = 475
    Top = 441
  end
  object Servil: TApolloTable
    DatabaseName = '\auto\estoque\'
    ExtraIndexes.Strings = (
      'SERVILD.IDX'
      'SERVILV.IDX'
      'SERVILL.IDX')
    FieldDefs = <>
    IndexDefs = <
      item
        Name = 'SERVILD.IDX'
        Fields = 'DATA'
        Source = 'SERVILD.IDX'
      end
      item
        Name = 'SERVILV.IDX'
        Fields = 'VERIFICA'
        Source = 'SERVILV.IDX'
      end
      item
        Name = 'SERVILL.IDX'
        Fields = 'DOCUMENTO'
        Source = 'SERVILL.IDX'
      end>
    IndexName = 'SERVILL.IDX'
    TableName = 'SERVIL.DBF'
    OEMTranslate = True
    Left = 535
    Top = 441
  end
  object ContQuery: TApolloQuery
    AccessMethod = amLocal
    DatabaseName = '\auto\contas\'
    TableNames = <
      item
        Alias = 'CLIENTE'
        ExtraIndexes.Strings = (
          'CLIENTEC.IDX')
        OEMTranslate = False
        TableName = 'CLIENTE.DBF'
        TableType = ttSXFOX
      end>
    DateFormat = 'm/d/yyyy'
    WaitCursor = crDefault
    Params = <>
    ParamCheck = False
    RecNo = 0
    RecCount = 0
    OEMTranslate = False
    Left = 600
    Top = 383
  end
  object MapaResumoEcf: TApolloTable
    DatabaseName = '\auto\fluxo\'
    ExtraIndexes.Strings = (
      'ecfd'
      'ecfv')
    FieldDefs = <>
    IndexDefs = <
      item
        Name = 'ECFD.IDX'
        Fields = 'DATA'
        Source = 'ECFD.IDX'
      end
      item
        Name = 'ECFV.IDX'
        Fields = 'VERIFICA'
        Source = 'ECFV.IDX'
      end>
    IndexName = 'ECFV.IDX'
    TableName = 'ECF.DBF'
    OEMTranslate = True
    Left = 467
    Top = 504
    object MapaResumoEcfDATA: TDateField
      FieldName = 'DATA'
    end
    object MapaResumoEcfNUMERO: TSmallintField
      FieldName = 'NUMERO'
    end
    object MapaResumoEcfSERIE: TStringField
      FieldName = 'SERIE'
      Size = 15
    end
    object MapaResumoEcfMODELO: TStringField
      FieldName = 'MODELO'
      Size = 2
    end
    object MapaResumoEcfINICIO: TFloatField
      FieldName = 'INICIO'
    end
    object MapaResumoEcfFIM: TFloatField
      FieldName = 'FIM'
    end
    object MapaResumoEcfREDUCAO: TFloatField
      FieldName = 'REDUCAO'
    end
    object MapaResumoEcfVENDA_BRU: TFloatField
      FieldName = 'VENDA_BRU'
    end
    object MapaResumoEcfVENDA_LIQ: TFloatField
      FieldName = 'VENDA_LIQ'
    end
    object MapaResumoEcfCRO: TSmallintField
      FieldName = 'CRO'
    end
    object MapaResumoEcfTOTALG: TFloatField
      FieldName = 'TOTALG'
    end
    object MapaResumoEcfTOTALA: TFloatField
      FieldName = 'TOTALA'
    end
    object MapaResumoEcfTOTALB: TFloatField
      FieldName = 'TOTALB'
    end
    object MapaResumoEcfTOTALC: TFloatField
      FieldName = 'TOTALC'
    end
    object MapaResumoEcfTOTALD: TFloatField
      FieldName = 'TOTALD'
    end
    object MapaResumoEcfTOTALE: TFloatField
      FieldName = 'TOTALE'
    end
    object MapaResumoEcfTOTALF: TFloatField
      FieldName = 'TOTALF'
    end
    object MapaResumoEcfALIQUOTA1: TFloatField
      FieldName = 'ALIQUOTA1'
    end
    object MapaResumoEcfALIQUOTA2: TFloatField
      FieldName = 'ALIQUOTA2'
    end
    object MapaResumoEcfALIQUOTA3: TFloatField
      FieldName = 'ALIQUOTA3'
    end
    object MapaResumoEcfALIQUOTA4: TFloatField
      FieldName = 'ALIQUOTA4'
    end
    object MapaResumoEcfALIQUOTA5: TFloatField
      FieldName = 'ALIQUOTA5'
    end
    object MapaResumoEcfALIQUOTA6: TFloatField
      FieldName = 'ALIQUOTA6'
    end
    object MapaResumoEcfSUBSTITUTO: TFloatField
      FieldName = 'SUBSTITUTO'
    end
    object MapaResumoEcfISENTO: TFloatField
      FieldName = 'ISENTO'
    end
    object MapaResumoEcfN_INCIDE: TFloatField
      FieldName = 'N_INCIDE'
    end
    object MapaResumoEcfDESCONTOS: TFloatField
      FieldName = 'DESCONTOS'
    end
    object MapaResumoEcfCANCELADO: TFloatField
      FieldName = 'CANCELADO'
    end
    object MapaResumoEcfISS: TFloatField
      FieldName = 'ISS'
    end
    object MapaResumoEcfLOJA: TSmallintField
      FieldName = 'LOJA'
    end
    object MapaResumoEcfVERIFICA: TStringField
      FieldName = 'VERIFICA'
      Size = 40
    end
  end
  object FluxQuery: TApolloQuery
    AccessMethod = amLocal
    DatabaseName = '\auto\fluxo\'
    TableNames = <>
    DateFormat = 'm/d/yyyy'
    WaitCursor = crDefault
    Params = <>
    ParamCheck = False
    RecNo = 0
    RecCount = 0
    OEMTranslate = False
    Left = 600
    Top = 439
  end
  object ConsProdQuery: TApolloQuery
    AccessMethod = amLocal
    DatabaseName = '\auto\estoque\'
    TableNames = <>
    DateFormat = 'm/d/yyyy'
    WaitCursor = crDefault
    Params = <>
    ParamCheck = False
    RecNo = 0
    RecCount = 0
    OEMTranslate = False
    Left = 601
    Top = 496
  end
  object Balcao: TApolloTable
    DatabaseName = '\auto\balcao'
    ExtraIndexes.Strings = (
      'Balcao')
    FieldDefs = <>
    IndexDefs = <>
    TableName = 'BALCAO.DBF'
    TurboRead = True
    OEMTranslate = False
    Left = 536
    Top = 504
  end
  object Contasp: TApolloTable
    DatabaseName = '\auto\contas\'
    FieldDefs = <>
    IndexDefs = <>
    TableName = 'CONTASP.DBF'
    OEMTranslate = True
    Left = 389
    Top = 448
  end
  object Cheque: TApolloTable
    DatabaseName = '\auto\cheque'
    FieldDefs = <>
    IndexDefs = <>
    TableName = 'CHEQUE.DBF'
    OEMTranslate = True
    Left = 392
    Top = 504
  end
  object ApQBalcao: TApolloQuery
    AccessMethod = amLocal
    DatabaseName = '\auto\balcao'
    TableNames = <
      item
        Alias = 'BALCAO'
        ExtraIndexes.Strings = (
          'BALCAO.IDX')
        OEMTranslate = False
        TableName = 'BALCAO.DBF'
        TableType = ttSXFOX
      end>
    DateFormat = 'm/d/yyyy'
    WaitCursor = crDefault
    Params = <>
    ParamCheck = False
    RecNo = 0
    RecCount = 0
    OEMTranslate = False
    Left = 672
    Top = 327
  end
  object SQLC_Cliente: TSQLClientDataSet
    CommandText = 'select * from PESSOAS where  PES_IdfCod=:pidf;'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftString
        Name = 'pidf'
        ParamType = ptInput
      end>
    DBConnection = ConnectionGestor
    Left = 128
    Top = 376
  end
  object Sqlc_SaidaServico: TSQLClientDataSet
    CommandText = 'select * from SAIDA_SERVICO where  SAD_IDFDOC=:pidf;'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftString
        Name = 'pidf'
        ParamType = ptInput
      end>
    DBConnection = ConnectionGestor
    Left = 208
    Top = 256
  end
  object SQLC_ReceberTitulos: TSQLClientDataSet
    CommandText = 'select * from RECEBER_TITULOS where  REC_IDFTITULO=:pidf;'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftString
        Name = 'pidf'
        ParamType = ptInput
      end>
    DBConnection = ConnectionGestor
    Left = 64
    Top = 448
  end
  object SQLC_Receber_Tit_Parc: TSQLClientDataSet
    CommandText = 
      'select * from RECEBER_TITULOS_PARCELAS where  REP_IDFTITULO=:pid' +
      'f and REP_PARCELA=:pparc ;'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <
      item
        DataType = ftString
        Name = 'pidf'
        ParamType = ptInput
      end
      item
        DataType = ftString
        Name = 'pparc'
        ParamType = ptInput
      end>
    DBConnection = ConnectionGestor
    Left = 184
    Top = 448
  end
end
